#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main (int argc, char const * argv[])
{
    int siz [10] = {0};
    int RNG;
    srand(time(NULL));
    for (size_t i = 0; i < sizeof(siz)/sizeof(int); i++)
    {
        siz[i] = rand () %1000 +1 ;
    }
    for (size_t i = 0; i < sizeof(siz)/sizeof(int); i++)
    {
        for (size_t j = 0; j < sizeof(siz)/sizeof(int); j++)
        {
            int temp;
            if (siz[j] >siz[j+1])
            {
                temp=siz[j];
                siz[j] = siz[j+1];
                siz[j+1] = temp;
            }
            
        }
        
    }
    for (size_t i = 0; i < sizeof(siz)/sizeof(int); i++)
    {
        printf("%ld : %d\n", i ,siz[i]);
    }
    
    return 0;
}